//
//  DoctorDetailInfoCell.swift
//  EyeVisionForPatients
//
//  Created by Mr.Lin. on 2020/3/18.
//  Copyright © 2020 tao Tao. All rights reserved.
//

import UIKit

protocol DoctorDetailInfoCellDelegate: AnyObject {
    func DoctorDetailInfoCellAction(btn: UIButton)
}

class DoctorDetailInfoCell: UITableViewCell {
    
    weak var delegate: DoctorDetailInfoCellDelegate?
    
    @IBOutlet weak var introductionLabel: UILabel!

    func updateData(vm: DoctorDetailViewModel) {
        introductionLabel.text = vm.introduction
        self.layoutIfNeeded()
    }
    
    func confiure(with vm: ESGTeamInquiryViewModel.RowViewModel) {
        introductionLabel.text = vm.teamDesc
        self.layoutIfNeeded()
    }
    

}
